package com.smartthinking.CICPNL.home.activity;

import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.Window;
import android.widget.TextView;
import com.smartthinking.CICPNL.R;
import com.smartthinking.CICPNL.R.id;

public class Textos_largos extends Activity {

	public String txt;
	public TextView txtTexto;
	
	public void voidFinish(View v){
		finish();
	}
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.ui_activity_textos_largos);
	
		Bundle extras = getIntent().getExtras();
		if (extras!=null){
			txt = extras.getString("Texto");
			
			txtTexto = (TextView) Textos_largos.this.findViewById(id.txttexto);
			txtTexto.setTextColor(Color.BLACK);
			txtTexto.setText(txt.trim());
			
		}
		
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.ui_activity_textos_largos, menu);
		return true;
	}
	
}
